<template>
	<view class="header-b" :class="!isewm?'height-auto':''">
		<view class="flowhidden" v-if="isewm">
			<view class="ewm-l">
				<image :src="src1" ></image>
				<br/>
				<text class="fc-blue" >兴业消费金融官微</text>
			</view>
			<view class="ewm-r">
				<image :src="src2" ></image>
				<br/>
				<text class="fc-blue" >空手到App</text>
			</view>
		</view>
		<view>
			<view class="h2b" ><image style="width:216rpx;height:36rpx;" src="../../static/img/xylogo.png" ></image></view>
			<view class="h2b">信用立身 | 以诚相贷</view>
			<view class="t-b" > 版权所有：兴业消费金融股份公司<br/>备案号：闽ICP备15001833号 </view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {};
		},
		methods:{
		},
		props:{
			src1: {
				type: String,
				default: ''
			},
			src2: {
				type: String,
				default: ''
			},
			isewm: {
				type: Boolean,
				default: false
			},
		},
	}
</script>
<style scoped lang="scss">
	.header-b{background: #EBEBEB;min-height: 440rpx;}
	.height-auto{min-height: 200rpx;}
	.ewm-l{
		padding-top: 40rpx;
		float: left;
		font-size: 20rpx;
		text-align: center;
		margin-left: 100rpx;
		margin-bottom: 30rpx;
		image{
			width: 150rpx;
			height: 150rpx;
		}
	}
	.t-b{
		text-align: center;
		color: #999;
		font-size: 20rpx;
		clear: both;
		padding-bottom: 20rpx;
		padding-top: 10rpx;
	}
	.h2b{
    	color: #0956b1;
		font-size: 22rpx;
		font-weight: 700;
		text-align: center;
	}
	.fc-blue{color: #0956b1;}
	.ewm-r{
		padding-top: 40rpx;
		float: right;
		font-size: 20rpx;
		text-align: center;
		margin-right: 100rpx;
		margin-bottom: 30rpx;
		image{
			width: 150rpx;
			height: 150rpx;
		}
	}
</style>